﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LS_YQZYCXDPWebForm.aspx.cs" Inherits="Anke.SHManage.Web.Reports.LS_YQZYCXDPWebForm" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>



<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=Title%></title>
    <script src="../Content/EasyUI/jquery.js"></script>
    <script src="../Content/EasyUI/jquery.easyui.js"></script>
    <script src="../Content/EasyUI/locale/easyui-lang-zh_CN.js"></script>
    <link href="../Content/EasyUI/themes/icon.css" rel="stylesheet" />
    <link href="../Content/EasyUI/themes/default/easyui.css" rel="stylesheet" />
    <script src="../Scripts/jquery.AnkeExtend.js"></script>
    <script type="text/javascript">
        //页面加载
        $(document).ready(function () {
            DisableBackspace();
            //$.InitDateTime();
            fillCombobox();

        });

        function fillCombobox() {
            //取区域           
            var urlstr = "../BB/AllDictionary/GetArea";
            $.EUIcomboboxForReport("#Area", {
                url: urlstr,
                valueField: 'Name',
                textField: 'Name',
                editable: true,
                OneOption: [{
                    ID: "",
                    Name: "--请选择--"
                }]
            });

            //取呼救类型
            var urlstr = "../BB/AllDictionary/GetHelpType";
            $.EUIcomboboxForReport("#HelpType", {
                url: urlstr,
                valueField: 'Name',
                textField: 'Name',
                editable: false,
                OneOption: [{
                    ID: "",
                    Name: "--请选择--"
                }]
            });

            //事件来源 add2021-07-03 plq 
            var urlstr = "../BB/AllDictionary/GetEventSource";
            $.EUIcomboboxForReport("#EventOrigin", {
                url: urlstr,
                valueField: 'Name',
                textField: 'Name',
                editable: false,
                OneOption: [{
                    ID: "",
                    Name: "--请选择--"
                }]
            });

            //病情 add2022-12-20 plq 
            var urlstr = "../BB/AllDictionary/GetTZIllState";
            $.EUIcomboboxForReport("#IllState", {
                url: urlstr,
                valueField: 'ID',
                textField: 'Name',
                editable: false,
                OneOption: [{
                    ID: "",
                    Name: "--请选择--"
                }]
            });
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <table>
            <tr>
                <td style="text-align: center">查询时间：</td>
                <td>
                    <asp:TextBox ID="StartDate" class="easyui-datetimebox" Style="width: 150px" runat="server" editable="false"></asp:TextBox>
                </td>
                <td style="text-align: center">至</td>
                <td>
                    <asp:TextBox ID="EndDate" class="easyui-datetimebox" Style="width: 150px" runat="server" editable="false"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 患者姓名：</td>
                <td>
                    <asp:TextBox ID="Name" class="easyui-textbox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 调度员：</td>
                <td>
                    <asp:TextBox ID="Dispatcher" class="easyui-textbox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 现场地址：</td>
                <td>
                    <asp:TextBox ID="LocalAddress" class="easyui-textbox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="text-align: center">&nbsp; 主诉：</td>
                <td>
                    <asp:TextBox ID="AlarmReason" class="easyui-textbox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 判断：</td>
                <td>
                    <asp:TextBox ID="MedicalJudge" class="easyui-textbox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 送往地点：</td>
                <td>
                    <asp:TextBox ID="SendAddress" class="easyui-textbox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 区域：</td>
                <td>
                    <asp:TextBox ID="Area" class="easyui-combobox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 街道：</td>
                <td>
                    <asp:TextBox ID="Street" class="easyui-textbox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>电话受理时间大于(秒)：</td>
                <td>
                    <asp:TextBox ID="Time" class="easyui-numberbox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td>事件来源：</td>
                <td>
                    <asp:TextBox ID="EventOrigin" class="easyui-combobox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 呼救类型：</td>
                <td>
                    <asp:TextBox ID="HelpType" class="easyui-combobox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td style="text-align: center">&nbsp; 病情：</td>
                <td colspan="3">
                    <asp:TextBox ID="IllState" class="easyui-combobox" Style="width: 150px" runat="server"></asp:TextBox>
                </td>
                <td align="center" valign="left" width="8%">&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" Text="查询" OnClick="btnSearch_Click" />
                </td>
            </tr>

        </table>
        <div style="border-left: 1px solid scrollbar; height: 100%;">
            <rsweb:ReportViewer ID="ReportViewer1" runat="server"  Width="100%" Height="100%"   SizeToReportContent="True"></rsweb:ReportViewer>
        </div>
    </form>
</body>
</html>

